Generic Programming Techniques in Aldor

نویسندگان

  • Manuel Bronstein
  • Marc Moreno Maza
  • Stephen M. Watt
چکیده

Certain problems in mathematical computing present unusual challenges in structuring software libraries. Although generics, or templates as they are sometimes called, have been in wide use now for many years, new ways to use them to improve library architecture continue to be discovered. We find mathematical software to be particularly useful in exploring these ideas because the domain is extremely rich while being well-specified. In this paper we present two techniques for using generics in mathematical computation: The first allows efficient formulation of generic algorithms for modular computations. The second allows mathematical domains to be endowed with additional algorithms after they are defined and to have these algorithms used in generic libraries.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Parametric Polymorphism for Computer Algebra Software Components

This paper presents our experiments in providing mechanisms for parametric polymorphism for computer algebra software components. Specific interfaces between Aldor and C++ and between Aldor and Maple are described. We then present a general solution, Generic IDL (GIDL), an extension to CORBA IDL supporting generic types. We describe our language bindings for C++, Java 1.5 and Aldor as well as a...

متن کامل

A Study in the Integration of Computer Algebra Systems: Memory Management in a Maple–aldor Environment

We have undertaken to study the problems which arise in the tight coupling of computer algebra systems. By this we mean having multiple computer algebra systems share the same address space so that objects created by one system can be passed passed by reference in calls to another system. As an interesting practical problem, we have explored the case of using Aldor code from within the Maple sy...

متن کامل

Parametric Polymorphism Optimization for Deeply Nested Types in Computer Algebra

Computer algebra systems, such as Axiom, and programming languages designed for computer algebra, such as Aldor, have very flexible mechanisms for generic code, with type parameterization. Modern versions of Maple can support this style of programming through the use of Maple's module system, and by using module-producing functions to give parametric type constructors. From the software design ...

متن کامل

From Untyped to Polymorphically Typed Objects in Mathematical Web Services

OpenMath is a widely recognised approach to the semantic markup of mathematics that is often used for communication between OpenMath compliant systems. The Aldor language has a sophisticated category-based type system that was specifically developed for the purpose of modelling mathematical structures, while the system itself supports the creation of small-footprint applications suitable for de...

متن کامل

GIDL User Guide

This document presents the Generic Interface Definition Language framework (gidl), an extension of corba-idl with support for parametric polymorphism and (operator) overloading. The motivation for this work is two-fold. First, we aimed at allowing multi-language software modules to be combined together to construct distributed applications. In this direction we have investigated what should be ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007